package com.itheima.service;

import com.itheima.pojo.Dept;

import java.io.FileNotFoundException;
import java.util.List;

public interface DeptService {

    //查询所有的部门信息
    List<Dept> list();

    void delete(Integer id) throws FileNotFoundException;

    void add(Dept dept);

    Dept findById(Integer id);

    void update(Dept dept);
}
